package com.nxy.cpfsfe.mybatis.mapper;

import com.nxy.cpfsfe.mybatis.pojo.TdChkaSum;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface TdChkaSumMapper {

	int delReDun(@Param("bNo") String bNo,@Param("chkAD") Date chkAD);

	int batchInsert(List<TdChkaSum> tdChkaSums);

	//内管查询成员行资金汇总记录总数
	int queryCountSumAmtByBNo(@Param("bNo") String bNo,@Param("chkAD") String chkAD,@Param("orgNm") String orgNm);

	//内管查询成员行资金汇总记录分页记录
	List<Map<String,Object>> querySumAmtByBNo(@Param("bNo") String bNo, @Param("chkAD") String chkAD, @Param("orgNm") String orgNm, @Param("start") Integer start, @Param("count") Integer count);

	//内管查询对应日期的NCS总资金情况
	TdChkaSum querySumAmtByChkAD(@Param("chkAD") String chkAD);

}
